export const columns = [
  {
    label: '询价单号',
    minWidth: 150,
    prop: 'number',
    fixed: true
  },
  {
    label: '询价标题',
    minWidth: 140,
    prop: 'title'
  },
  {
    label: '采购组织',
    minWidth: 100,
    prop: 'purchaseOrg'
  },
  {
    label: '开始时间',
    prop: 'beginDate',
    minWidth: 170
  },
  {
    label: '结束时间',
    prop: 'endDate',
    minWidth: 170
  },
  {
    label: '状态',
    prop: 'state',
    minWidth: 100
  },
  {
    label: '是否已报价',
    prop: 'hasQute',
    width: 80
  }
]
export const actions = [
  {
    key: 'detail',
    text: '查看',
    permissions: 'source:enquiry:detail'
  },
  {
    key: 'quote',
    text: '报价',
    permissions: 'source:enquiry:quote'
  }
]
// 询价物料清单
export const enquiryMaterialColumns = [
  {
    label: '物料编码',
    minWidth: 150,
    prop: 'materialCode',
    fixed: true
  },
  {
    label: '物料名称',
    minWidth: 140,
    prop: 'materialName',
    fixed: true
  },
  {
    label: '物料规格',
    minWidth: 140,
    prop: 'materialSpecs'
  },
  {
    label: '物料分类',
    minWidth: 140,
    prop: 'materialType'
  },
  {
    label: '单位',
    minWidth: 100,
    prop: 'materialUnit'
  },
  {
    label: '数量',
    minWidth: 100,
    prop: 'quantity'
  },
  {
    label: '参考报价(含税)/元',
    minWidth: 160,
    prop: 'quotation'
  },
  {
    label: '税率/%',
    minWidth: 100,
    prop: 'taxRate'
  },
  {
    label: '期望交货日期',
    minWidth: 170,
    prop: 'deliveryDate'
  },
  {
    label: '交付仓库',
    minWidth: 170,
    prop: 'deliveryAddrName'
  },
  {
    label: '地址',
    minWidth: 170,
    prop: 'deliveryAddr'
  }
]

// 询价供应商列表
export const enquirySupplierColumns = [
  {
    label: '供应商编码',
    prop: 'supplierCode'
  },
  {
    label: '供应商名称',
    prop: 'fullName'
  }
]
